#! /bin/bash
#输出到以日期格式文件名
loga=a`date +'%Y-%m-%d'`.txt
logb=b`date +'%Y-%m-%d'`.txt
logc=c`date +'%Y-%m-%d'`.txt

nohup ls / >/opt/sh/plot1 >$loga 2>&1 &
sleep 60
nohup /opt/sh/plot2 >$logb 2>&1 &
sleep 120
nohup ls / >/opt/sh/plot3 >$logc 2>&1 &
echo "next step"
exit


